<tem>
<!-- 用户编辑模板 -->
<div class="template xd-template" id="asset_edit_template">
	<div class="panel-body no-tb-padder">
		<form class="bs-example form-horizontal xs-form" id="query_form">
			<div class="form-group">
				<label class="col-lg-2 control-label required">资产名称：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" reg="notempty" message="{notempty:'资产名称不能为空'}" maxlength="100" data-id="name" id="name">
		    </div>

		    <label class="col-lg-2 control-label required">资产类型：</label>
		    <div class="col-lg-4">
		      <select class="form-control input-sm" data-type="select" id="typeSelect" data-id="typeId">
					</select>
		    </div>
			</div>

			<div class="form-group">
			    <label class="col-lg-2 control-label required">操作系统：</label>
			    <div class="col-lg-4">
			    	<select class="form-control input-sm" data-type="select" id="systemSelect" data-id="os">
						</select>
			    </div>	
			    <label class="col-lg-2 control-label">IP地址：</label>
			    <div class="col-lg-4">
			        <input type="text" class="form-control input-sm" maxlength="32" reg="ip4" message="{notempty:'ip地址不能为空'}" data-id="ip" id="ip">
			    </div>	    
			</div>

			<div class="form-group">
				<label class="col-lg-2 control-label required">管控域：</label>
		    <div class="col-lg-4">
		    	<select class="form-control input-sm" data-type="select" data-id="systemId" id="systemId">
					</select>
		    </div>
		    <label class="col-lg-2 control-label">物理地址：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" maxlength="32" reg="mac" data-id="mac">
		    </div>
			</div>
			
			<div class="form-group">
				<label class="col-lg-2 control-label">硬件版本：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="hardwareVersion" maxlength="100">
		    </div>

		    <label class="col-lg-2 control-label">固件版本：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="firmwareVersion" maxlength="100">
		    </div>
			</div>

			<div class="form-group">
				<label class="col-lg-2 control-label">供应商：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="supplier" maxlength="100">
		    </div>

		    <label class="col-lg-2 control-label">生产厂商：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="manufacturers" maxlength="100">
		    </div>
			</div>
			
			<div class="form-group">
				<label class="col-lg-2 control-label">购置日期：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="buyDate" id="buyDate">
		    </div>

		    <!-- <label class="col-lg-2 control-label">维保期：</label>
		    <div class="col-lg-4">
		        <input type="text" class="form-control input-sm" data-id="buyDate" id="buyDate">
		        <select>
		        	<option>年</option>
		        	<option>月</option>
		        </select>
		    </div> -->
			</div>
			
			<div class="form-group">
				<label class="col-lg-2 control-label">状态：</label>
				<div class="col-lg-4" style="padding-top: 7px;">
					<label class="i-checks ml3">
						<input type="radio" value="1" data-id="status" name="status" checked>
						<i></i>
					  启用
					</label>
					<label class="i-checks ml20">
						<input type="radio" value="0" name="status">
						<i></i>
					  停用
					</label>
				</div>
			</div>

			<div class="form-group">
				<label class="col-lg-2 control-label">资产备注：</label>
		    <div class="col-lg-4">
		        <textarea onpropertychange="if(value.length>200) value=value.substr(0,200)" class="form-control" maxlength="200" data-id="remark"></textarea>
		    </div>
			</div>
		</form>
	</div>
</div>
</tem>